﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="PearTunes.MusicControlPro"
	x:Name="UserControl"
	d:DesignWidth="123" d:DesignHeight="38">
	<UserControl.Resources>
		<Storyboard x:Key="PlayLeftButtonDown">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Play_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="PlayLeftButtonUp">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Play_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="PauseLeftButtonDown">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Pause_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="PauseLeftButtonUp">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Pause_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="PrevLeftButtonDown">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Prev_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="PrevLeftButtonUp">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Prev_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="NextButtonDown">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Next_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="NextButtonUp">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Next_Normal">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonDown" SourceName="Play_Normal">
			<BeginStoryboard x:Name="OnMouseLeftButtonDown1_BeginStoryboard" Storyboard="{StaticResource PlayLeftButtonDown}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonUp" SourceName="Play_Normal">
			<BeginStoryboard x:Name="OnMouseLeftButtonUp1_BeginStoryboard" Storyboard="{StaticResource PlayLeftButtonUp}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonDown" SourceName="Pause_Normal">
			<BeginStoryboard x:Name="PauseLeftButtonDown_BeginStoryboard" Storyboard="{StaticResource PauseLeftButtonDown}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonUp" SourceName="Pause_Normal">
			<BeginStoryboard x:Name="PauseLeftButtonUp_BeginStoryboard" Storyboard="{StaticResource PauseLeftButtonUp}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonDown" SourceName="Prev_Normal">
			<BeginStoryboard x:Name="PrevLeftButtonDown_BeginStoryboard" Storyboard="{StaticResource PrevLeftButtonDown}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonUp" SourceName="Prev_Normal">
			<BeginStoryboard x:Name="PrevLeftButtonUp_BeginStoryboard" Storyboard="{StaticResource PrevLeftButtonUp}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonDown" SourceName="Next_Normal">
			<BeginStoryboard x:Name="NextButtonDown_BeginStoryboard" Storyboard="{StaticResource NextButtonDown}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonUp" SourceName="Next_Normal">
			<BeginStoryboard x:Name="NextButtonUp_BeginStoryboard" Storyboard="{StaticResource NextButtonUp}"/>
		</EventTrigger>
	</UserControl.Triggers>


	<Grid x:Name="LayoutRoot">
		
		
		<Image x:Name="Pause_Pressed" Margin="43,0" Source="_0001_Pause-Pressed.png"/>
        <Image x:Name="Pause_Normal" Margin="43,0" Source="_0004_Pause-Normal.png" MouseLeftButtonDown="Pause_Normal_MouseLeftButtonDown" />
        
        <Image x:Name="Play_Pressed" Margin="43,0" Source="_0002_Play-Pressed.png"/>
		<Image x:Name="Play_Normal" Margin="43,0" Source="_0003_Play-Normal.png" MouseLeftButtonDown="Play_Normal_MouseLeftButtonDown" />
		

		
		<Image x:Name="Prev_Pressed" HorizontalAlignment="Left" Margin="0,4,0,3" Width="30" Source="_0006_Prev-Pressed.png"/>
		<Image x:Name="Prev_Normal" HorizontalAlignment="Left" Margin="0,4,0,3" Width="30" Source="_0007_Prev-Normal.png" MouseLeftButtonDown="Prev_Normal_MouseLeftButtonDown" />

		<Image x:Name="Next_Pressed" Margin="0,4,0,3" Source="_0005_Next-Pressed.png" Width="30" HorizontalAlignment="Right" d:LayoutOverrides="Width"/>
		<Image x:Name="Next_Normal" Margin="0,4,0,3" Source="_0000_Next-Normal.png" Width="30" HorizontalAlignment="Right" d:LayoutOverrides="Width" MouseLeftButtonDown="Next_Normal_MouseLeftButtonDown" />
					
	</Grid>
	

</UserControl>